<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui">

	<p:panelGrid style="margin-top:20px">
		<p:row>
	        <p:column>
 				<p:commandButton value="登录" id="btn_goodsDamageLost_register" actionListener="#{goodsDamageLostBean.viewRegisterGoodsDamageLost}" ajax="true">
 					<p:ajax event="dialogReturn" listener="#{goodsDamageLostBean.registerGoodsDamageLostResult}" update="goodsDamageLostTable" />
 				</p:commandButton>
	        </p:column>
	        <p:column>
	            <p:commandButton value="削除" actionListener="#{goodsDamageLostBean.deleteGoodsDamageLost}" update="goodsDamageLostTable" >
	        		<p:confirm header="Confirmation" message="Are you sure?" icon="ui-icon-alert" />
	            </p:commandButton>
	        </p:column>
	        <p:column>
 				<p:commandButton value="查询" id="btn_goodsDamageLost_search" actionListener="#{goodsDamageLostBean.searchGoodsDamageLostSync}" ajax="false" />
	        </p:column>
	    </p:row>
	</p:panelGrid>

	<p:confirmDialog global="true" showEffect="fade" hideEffect="explode">
        <p:commandButton value="Yes" type="button" styleClass="ui-confirmdialog-yes" icon="ui-icon-check" />
        <p:commandButton value="No" type="button" styleClass="ui-confirmdialog-no" icon="ui-icon-close" />
    </p:confirmDialog>

	<p:separator />

</ui:composition>